/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.sonrisas.tools.dao;
import java.awt.Image;
import java.io.IOException;
import pe.sonrisas.tools.entities.Fotopaciente;
import pe.sonrisas.tools.exception.SonrisasException;
/**
 *
 * @author computer
 */
public interface FotoPacienteDAO extends GenericoDAO<Fotopaciente> {
    
    public void guardarFoto(String id, String ruta)throws SonrisasException;
    public boolean modificarFoto(String id, String ruta)throws SonrisasException;
    public Image cargarFoto(String id)throws SonrisasException;
    public Image ConvertirImagen(byte[] bytes, String formato)throws SonrisasException, IOException;
}
